#ifndef NANE_DIRECTORYFILEARCHIVE_H
#   define  NANE_DIRECTORYFILEARCHIVE_H

#   include "nane/FileArchiveSystem/IFileArchiveSystem.h"

#   include <string>

namespace nane 
{
    class DirectoryFileArchive
        : public IFileArchive
    {
    public:
        DirectoryFileArchive();
        ~DirectoryFileArchive();
        
        bool Initialize( const char* _filename );
        void Shutdown();
        
    public:
        IReadFile* OpenFile( const char* _filename );

    private:
        void MakeFullpath( const char* _path, std::string* _fullpath );
        
        std::string m_path;        
    };
}   // namespace nane

#endif	// NANE_DIRECTORYFILEARCHIVE_H
